import request from "@/utils/request"
import qs from "qs"



// 获取详情信息
function getMovie_HeadDetailByMovieID(data){
  // https://ys.endata.cn/enlib-api/api/movie/getMovie_HeadBoxOfficeByMovieID.do
  return request.post('/enlib-api/api/movie/getMovie_HeadDetailByMovieID.do',qs.stringify(data),{
    headers: {
      "Content-Type": "application/x-www-form-urlencoded"
    }
  })
}

function getMovie_HeadBoxOfficeByMovieID(data){
  // https://ys.endata.cn/enlib-api/api/movie/getMovie_HeadBoxOfficeByMovieID.do
  return request.post('/enlib-api/api/movie/getMovie_HeadBoxOfficeByMovieID.do',qs.stringify(data),{
    headers: {
      "Content-Type": "application/x-www-form-urlencoded"
    }
  })
}




export{getMovie_HeadBoxOfficeByMovieID,getMovie_HeadDetailByMovieID}
